package Test;

import java.io.File;

import DB.BddManager;
import forRecherche.Recherche;
import forRecherche.SousRechercheCreator;

public class TestSousRecherche {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		BddManager bddManager = BddManager.getInstance();
		bddManager.connectBdd();
		SousRechercheCreator s = new SousRechercheCreator("personnes, récompense, Intouchables");
		//System.out.println(s.getRequeteInitiale().toString());
		System.out.println(s.createSurcharge().toString());
		Recherche r = new Recherche(s.createSurcharge(), new File("/home/louis/Bureau/RI/CORPUS/CORPUS/"));
		r.printResult((r.makeResearch()));
	}

}
